<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <title>jijaf</title>
    {{ HTML::style('css/reset.css') }}
    {{ HTML::style('css/base.css') }}
</head>
<body>
<div id="wrap">
    <div id="main">
        <div id="header">
            @if ( Auth::check() )
            <div class="left">
            <ul class="mainmenu">
            @if (URI::is('mail(/*)?'))
            <li>{{ HTML::link_to_action('mail', 'mail', array(), array('class' => 'active')) }}</li>
            @else
            <li>{{ HTML::link_to_action('mail', 'mail') }}</li>
            @endif
            </ul>
            <br />
            @yield('submenu')
            </div>    
            <div class="right">
            <ul>
            @if (URI::is('auth/profile(/*)?'))
            <li>{{ HTML::link_to_action('jijaf.auth@profile','Change password', array(), array('class' => 'active')) }}</li>
            @else
            <li>{{ HTML::link_to_action('jijaf.auth@profile','Change password') }}</li>
            @endif
            <li>{{ HTML::link_to_action('jijaf.auth@logout','Logout') }}</li>
            </ul>
            </div>
            @endif
        </div>
        <div id="title">
            @yield('title')
        </div>
        <div id="content">
            @yield('content')
        </div>
    </div>
</div>
<div id="footer">
{{ HTML::image('img/jijaf.png', 'jijaf') }}
</div>
</body>
</html>
